package com.cuddleclones.imgdepot.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zkl.common.web.app.base.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhoushuang
 * @since 2021-07-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="Specie对象", description="")
public class Specie extends BaseModel<Specie> {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    @TableField("nameCN")
    private String nameCN;

    private Integer status;

    @TableField("updateTime")
    private Date updateTime;


    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String NAMECN = "nameCN";

    public static final String STATUS = "status";

    public static final String UPDATETIME = "updateTime";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
